const http = require("http");
class KKa {
  listen(port) {
    http
      .createServer((req, res) => {
        this.callback(req, res);
      })
      .listen(port);
  }
  use(callback) {
    this.callback = callback;
  }
}

module.exports = KKa;
